--
-- Created by IntelliJ IDEA.
-- User: zhanpu
-- Date: 20-9-10
-- Time: 下午4:38
-- To change this template use File | Settings | File Templates.
-- 加锁
--

if redis.call('get', KEYS[1]) == ARGV[1] then
    return redis.call('del', KEYS[1])
else
    return 0
end
